package com.tg.paw.ums.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Rubble
 * @date 2020/10/27
 */
@Data
@ApiModel("角色权限参数")
public class RolePermissionParams {

    @NotNull(message = "角色id不能为空")
    @ApiModelProperty("角色id")
    private Long roleId;

    @ApiModelProperty("权限ids")
    private List<Long> permissionIds;
}
